let includes = ([
    "include/common.js",

]);


function create() {
    let me = thisObject();
    return me;
}





function test() {

    //每张表必须有的字段 id 和createtime(bigInt)
    let data = os.db.add("insert into w_users (username,createtime)VALUE('faros测试',"+os.time.timeMillis()+")");
    //查询最后一次插入的ID  select 返回的是json字符串，必须转换一次
    let lastId = os.db.select("SELECT id from w_users ORDER  BY createtime desc LIMIT 0,1");
    os.debug(JSON.parse(lastId));
}



